.modal.submit-success,
.modal.submit-error {
  height: 5.15rem;
  overflow: hidden;
}

.modal.submit-success .modal-inner,
.modal.submit-error .modal-inner {
  height: 100%;
  width: 100%;
  display: table;
}

.submit-success .modal-title {
  color: #E8CB05;
  display: table-cell;
  vertical-align: middle;
}

.submit-error .modal-title {
  color: #DC7676;
  display: table-cell;
  vertical-align: middle;
}

.submit-error .modal-text,
.submit-success .modal-text {
	display: none;
}
